package com.newworld.dmsapp2.bean;

import java.io.Serializable;

import org.litepal.crud.DataSupport;

@SuppressWarnings("serial")
public class Function extends DataSupport implements Serializable {

	private long id;

	// 功能code
	private String functionCode;
	// 功能URL
	private String functionUrl;

	private User user;

	private Task task;

	private Register register;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getFunctionCode() {
		return functionCode;
	}

	public void setFunctionCode(String functionCode) {
		this.functionCode = functionCode;
	}

	public String getFunctionUrl() {
		return functionUrl;
	}

	public void setFunctionUrl(String functionUrl) {
		this.functionUrl = functionUrl;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Register getRegister() {
		return register;
	}

	public void setRegister(Register register) {
		this.register = register;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	@Override
	public String toString() {
		return "Function [functionCode=" + functionCode + ", functionUrl="
				+ functionUrl + "]";
	}

}
